package com.yc.star.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 活动
 * </p>
 *
 * @author ljl
 * @since 2024-07-20
 */
@TableName("s_activity")
public class Activity implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 活动名称
     */
      private String aname;

      /**
     * id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 活动照片
     */
      private String aimg;

      /**
     * 报名方式,单人0,组队1
     */
      private Byte atype;

      /**
     * 活动描述
     */
      private String adescription;

      /**
     * 状态 0 - 正常,1 - 过时
     */
      private Integer astatus;

      /**
     * 创建时间
     */
      private LocalDateTime startTime;

    private LocalDateTime endTime;

      /**
     * 是否删除
     */
      private Byte isDelete;

      /**
     * 主办方
     */
      private String aadmin;

      /**
     * 扩展字段2
     */
      private String temp2;

      /**
     * 扩展字段3
     */
      private String temp3;
    
    public String getAname() {
        return aname;
    }

      public void setAname(String aname) {
          this.aname = aname;
      }
    
    public Long getId() {
        return id;
    }

      public void setId(Long id) {
          this.id = id;
      }
    
    public String getAimg() {
        return aimg;
    }

      public void setAimg(String aimg) {
          this.aimg = aimg;
      }
    
    public Byte getAtype() {
        return atype;
    }

      public void setAtype(Byte atype) {
          this.atype = atype;
      }
    
    public String getAdescription() {
        return adescription;
    }

      public void setAdescription(String adescription) {
          this.adescription = adescription;
      }
    
    public Integer getAstatus() {
        return astatus;
    }

      public void setAstatus(Integer astatus) {
          this.astatus = astatus;
      }
    
    public LocalDateTime getStartTime() {
        return startTime;
    }

      public void setStartTime(LocalDateTime startTime) {
          this.startTime = startTime;
      }
    
    public LocalDateTime getEndTime() {
        return endTime;
    }

      public void setEndTime(LocalDateTime endTime) {
          this.endTime = endTime;
      }
    
    public Byte getIsDelete() {
        return isDelete;
    }

      public void setIsDelete(Byte isDelete) {
          this.isDelete = isDelete;
      }

    public String getAadmin() {
        return aadmin;
    }

    public void setAadmin(String aadmin) {
        this.aadmin = aadmin;
    }

    public String getTemp2() {
        return temp2;
    }

      public void setTemp2(String temp2) {
          this.temp2 = temp2;
      }
    
    public String getTemp3() {
        return temp3;
    }

      public void setTemp3(String temp3) {
          this.temp3 = temp3;
      }

    @Override
    public String toString() {
        return "Activity{" +
              "aname = " + aname +
                  ", id = " + id +
                  ", aimg = " + aimg +
                  ", atype = " + atype +
                  ", adescription = " + adescription +
                  ", astatus = " + astatus +
                  ", startTime = " + startTime +
                  ", endTime = " + endTime +
                  ", isDelete = " + isDelete +
                  ", aadmin = " + aadmin +
                  ", temp2 = " + temp2 +
                  ", temp3 = " + temp3 +
              "}";
    }
}
